package org.com.FeignFallback;

import Entity.Blog;
import org.com.FeignClient.BlogFeign;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

import java.util.List;
@Component
public class BlogFallback implements BlogFeign {
    private static final Logger log = LoggerFactory.getLogger(BlogFallback.class);

    @Override
    public List<Blog> list() {
        log.info("blog.list熔断处理");
        return List.of();
    }
}
